﻿using System.ComponentModel.DataAnnotations;

namespace UI.Models.Account
{
    public class Logon
    {
        [Required]
        [StringLength(20 , ErrorMessage = "Maximum length is 20")]
        public string UserId { get; set; }
        [Required]
        [StringLength(20, ErrorMessage = "Maximum length is 20")]
        public string Password { get; set; }
        public string ReturnUrl { get; set; }
    }
}